<?php // no direct access
defined('_JEXEC') or die('Restricted access');

$canEdit	= ($this->user->authorize('com_content', 'edit', 'content', 'all') || $this->user->authorize('com_content', 'edit', 'content', 'own'));
?>
   <section id="main">
                        	<!--left sidebar-->
                            <aside>
                            	<!--Category-->
                            	<div id="aboutCat" class="category">
                                    <h2>Om SG Rengøring</h2>
                                    <ul class="cat-list">
                                    	<li class="current"><a href="">Virksomhedsprofil</a></li>
                                        <li><a href="">Målsætning</a></li>
                                        <li><a href="">Værdier</a></li>
                                    </ul> 
                                </div>
                                <!-- /Category-->
                                <div class="contact-info">
                                    {module Firma infomation}
                                </div>
                                <div class="corp-links">
                                    {module Corporate links}
                                </div>
                            </aside>
                            <!-- Begin main-content  -->
							<?php 
										$db = &Jfactory::GetDBO();
										$query = "SELECT * FROM jos_content WHERE id=29 AND state=1";
										$db->setQuery($query);
										$array = $db->loadObject();
										//var_dump($array);
									?>
                            <div id="content" class="with-sidebar">
                                <h1 class="page-title"><a class="parent" href="services.html">OM OS</a><span class="arrow"></span><span class="current">Virksomhedsprofil</span></h1>
                                <!-- Begin service content  -->
                                <div class="content-ctn">
                                	<div class="sub-banner"><img src="images/thumb/timthumb.php?src=<?php echo $array->article_image ?>&w=693&h=119&zc=1" alt="SG Rengøring Service" /></div>
                                    <div class="article-ctn">                                  	
                                   <?php 
									echo $array->introtext;                             
									?>
                                    </div>
                                    <a class="about-contact-btn" href="kontakt.html">Læs mere om vores service - Tryk her!</a>
                                </div>
                                <!-- / service content  -->
                                
                            </div>
                            <!-- / main-content  -->
                              
                            <!-- /end mid-content  -->
                        </section>